import request from '@/utils/request'

// 查询短信定位记录列表
export function listMessageLocationInfo(query) {
  return request({
    url: '/event/messageLocationInfo/list',
    method: 'get',
    params: query
  })
}

// 查询短信定位记录详细
export function getMessageLocationInfo(id) {
  return request({
    url: '/event/messageLocationInfo/' + id,
    method: 'get'
  })
}

// 新增短信定位记录
export function addMessageLocationInfo(data) {
  return request({
    url: '/event/messageLocationInfo',
    method: 'post',
    data: data
  })
}

// 修改短信定位记录
export function updateMessageLocationInfo(data) {
  return request({
    url: '/event/messageLocationInfo',
    method: 'put',
    data: data
  })
}

// 删除短信定位记录
export function delMessageLocationInfo(id) {
  return request({
    url: '/event/messageLocationInfo/' + id,
    method: 'delete'
  })
}
